@import url(./publick.css);

/* 轮播图 */
.swiperBox {
  display: flex;
  justify-content: space-between;
}
.swiperBox .RecommendedList {
  width: 590px;
  margin-top: 25px;
}
.swiperBox .RecommendedList .RecommendedItem {
  margin-bottom: 0;
}
.swiperBox .RecommendedItem .itemEnd p{
  height: 20px;
  -webkit-line-clamp: 1;
}

.swiper {
  transform: translateX(-12px);
  margin-top: 25px;
  width: 580px;
  height: 405px;
  border-radius: 13px;
  position: relative;
}
.swiper .swiper-slide {
  cursor: pointer;
}
.swiper .swiper-slide img{
  overflow: hidden;
  width: 100%;
}
.swiper .swiper-slide .mark {
  width: 100%;
  height: 580px;
  position: absolute;
  /* z-index: -1; */
  bottom: 0;
  left: 0;
  background: linear-gradient(0, #ddab80 14%, transparent 23%);
}
.swiper .swiper-slide .swiperText {
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0px;
  width: 100%;
  height: 76px;
  color: #fff;
  /* background: #fff; */
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 24px;
}

/* 指示器 */
.swiper-button-next, .swiper-button-prev {
  color: #fff;
}

/* 分页器 */
.swiper-pagination {
  text-align: left;
  transform: translateX(10px);
  bottom: 4px !important;
}

.swiper-pagination .swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, .5);
}
.swiper-pagination .swiper-pagination-bullet-active{
  background-color: #fff;
}



/* 视频推荐列表*/
.RecommendedList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.RecommendedList .RecommendedItem {
  width: 285px;
  margin-bottom: 16px !important;
  overflow: hidden;
  border-radius: 13px;
  cursor: pointer;
  margin-bottom: 17px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

/* 视频列表 */
.RecommendedItem .itemTop {
  width: 100%;
  height: 160px;
  position: relative;
}
.RecommendedItem .itemTop img {
  width: 100%;
}
.RecommendedItem .itemTop span {
  position: absolute;
  display: inline-block;
  right: 16px;
  bottom: 8px;
  color: #fff;
  font-size: 14px;
}

.RecommendedItem .itemEnd {
  padding: 12px;
  background-color: #fff;
}
.RecommendedItem .itemEnd p {
  font-size: 15px;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  /* 显示的行数 */
  -webkit-line-clamp: 2;
}
.RecommendedItem .itemEnd span {
  margin: 2px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--theme-smText-color);
}








